package com.yulinlin.admin.modules.sys.domain;

import com.yulinlin.common.domain.SuperEntity;

import com.yulinlin.data.core.anno.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.Date;



@Data
@ApiModel("用户元素关联 ")
@JoinTable("sys_element_rel")
public class SysElementRelEntity extends SuperEntity<SysElementRelEntity>  {



        @NotEmpty(message = "必填")
        @ApiModelProperty("用户id")
        @JoinWhere
        @JoinField
        private String sysUserId;

        @NotEmpty(message = "必填")
        @ApiModelProperty("元素id")
        @JoinWhere
        @JoinField
        private String sysElementId;



        @NotEmpty(message = "必填")
        @ApiModelProperty("是否启用")
        @JoinWhere
        @JoinField
        private Boolean open;






}
